package com.datang.pet.service;/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-06-15 08:54
 * @notify 评论,回复评论相关
 * @version 1.0
 */

import com.datang.pet.vo.*;

import java.util.Date;
import java.util.List;

public interface CommentService {

    void addOneComment(AddOneCommentRequest addOneCommentRequest)throws Exception;

    void addLikeOneComment(AddLikeOneCommentRequest addLikeOneCommentRequest)throws Exception;

    void addTwoComment(AddTwoCommentRequest addTwoCommentRequest)throws Exception;

    void addLikeTwoComment(AddLikeTwoCommentRequest addLikeTwoCommentRequest)throws Exception;

    List<GetHotCommentResponse> getHotCommentResponseByTalkId(String talkId, String userId)throws Exception;

    List<GetHotCommentResponse> getCommentResponseByTalkIdNotInHotListOrderByDate(String talkId, List<String> hotIds, Date time,String userId)throws Exception;

    List<GetTwoCommentResponse> getTwoCommentByOneCommentIdNotInIdOrderByDate(String oneCommentId,String notTwoId,Date time,String userId)throws Exception;

}
